package com.dgshanger.sanhxiaofeisc.mvp.contract;

import com.dgshanger.sanhxiaofeisc.entity.ShoppingVideoEntity;
import com.xx.baseuilibrary.mvp.lcec.BaseMvpLcecView;
import com.xx.baseutilslibrary.network.rx.XxBaseHttpObserver;

import java.util.List;

/**
 * Created by JacobHHH on 2018/4/20.
 */

public interface ShoppingVideoContract {

    interface View extends BaseMvpLcecView<List<ShoppingVideoEntity>>{

        void loadMoreData(List<ShoppingVideoEntity> data);

        void onDataFailure(String err);
    }

    interface Presenter{
        void loadData(boolean isRefresh,String page);
    }

    interface Model{
        void loadData(String page, XxBaseHttpObserver<List<ShoppingVideoEntity>> httpObserver);
    }
}
